package com.daydayup.calculator;

import java.math.BigDecimal;

public class Test {

	public static BigDecimal handleNull(BigDecimal value) {
		return value != null ? value : BigDecimal.ZERO;
	}

	public static Double handleNull(Double value) {
		return value != null ? value : Double.valueOf(0.0);
	}

	public static Integer handleNull(Integer value) {
		return value != null ? value : Integer.valueOf(0);
	}

}
